package com.maven.front.mapper;


import com.maven.front.bean.SysUser;

import java.util.List;

public interface SysUserMapper {
    //删除
    int deleteByPrimaryKey(Integer userId);
    //新增
    int insert(SysUser record);

    int insertSelective(SysUser record);

     //查询单条数据
    SysUser selectByPrimaryKey(Integer userId);
    //查询单条数据
    SysUser getid(Integer userId);

     //更改密码
    int updateByPrimaryKeySelective(SysUser record);

     //更新
    int updateByPrimaryKey(SysUser record);

    //模糊查询
    public List<SysUser> select(String  keyWord);

    //更改状态冻结
    public Integer updateStatus(SysUser sysUser);

    //登录
    public SysUser  login(SysUser sysUser);
    public List<SysUser> select();

     //逻辑删除
    public int upPassword(Integer id);

     //根据name查询个人信息

    public SysUser selectName(String name);


}